package com.atguigu.classes;

/**
 * @program: IDEAcode
 * @description:
 * @author: Mr.zjx
 * create: 2021-07-24-23-31
 **/
public class Test08 {
    public static void main(String[] args) {
        changeString("abcdefg");
    }
    public static void changeString(String str){
        StringBuilder builder = new StringBuilder(str);
        builder.reverse();
        System.out.println(builder.toString());
    }
}
